package edu.sctu.wulixia.month4and5.day20150430;

/**
 * Created by user05 on 2015/04/30.
 */
public class DayClient {

    //实现计算器的算法
    public static void main(String[] args) {
        Calculating calculating = new Calculating();

        int result;

        result = calculating.plus(10 , 9);
        System.out.println("10 + 9 = "+ result);

        result = calculating.minus(4 , 2);
        System.out.println("4 - 2 = "+ result);

        result = calculating.mult(3 , 4);
        System.out.println("3 * 4 = "+ result);

        result = calculating.divide(6 , 3);
        System.out.println("6 / 3 = "+ result);
    }
}
